package com.guoqing.example.mapper;

import com.guoqing.example.po.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @ClassName UserMapper
 * @Description TODO
 * @Author ZhangGuoQing
 * @Date 2020/8/16/0016 22:47
 */
@Repository
@Mapper
public interface UserMapper {


    User selectUserByLoginName(@Param("userName") String userName);

    User userRoleResources(@Param("userName") String userName);

    Integer updateRole();

    Integer insertUser(User user);

}
